package com.ruoyi.ftrl.io.server.domain;

import org.tio.core.intf.Packet;

public class MyPacket extends Packet {
    private static final long serialVersionUID = -172060606924066412L;

    //消息头的长度
    public static final int HEADER_LENGTH = 6;

    public static final String CHARSET = "utf-8";

    private String text;
    //

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    private byte[] body;

    public byte[] getBody() {
        return body;
    }

    public void setBody(byte[] body) {
        this.body = body;
    }
}
